package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.Tech;
import com.ruoyi.system.mapper.TechMapper;
import com.ruoyi.system.service.ITechService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TechServiceImpl implements ITechService {

    @Autowired
    private TechMapper techMapper;

    @Override
    public List<Tech> selectByPage(Tech query) {
        return techMapper.selectByPage(query);
    }

    @Override
    public int updateStatus(Tech tech) {
        return techMapper.updateStatus(tech);
    }
}
